package cn.haohaowo.service;

import java.util.List;

import cn.haohaowo.common.Page;
import cn.haohaowo.entity.Book;

public interface BookBizService {
	
	List<Book> getHotBooks();

	Page<Book> search(String keyword, int pageNo);
	
	Page<Book> search(String keyword, int pageNo, int pageSize);
	
	Page<Book> getBooks(String type, String title, String author,
			String publisher, String minPrice, String maxPrice, int pageNo);
	
	Page<Book> getBooks(String type, String title, String author,
			String publisher, String minPrice, String maxPrice, int pageNo, int pageSize);

	Book getBook(int bookId);
	
	List<Book> getRelativeBooks(int bookId);
}
